
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;

namespace Test {
	class InterfList {

		static void MainX() {

			Assembly asm=Assembly.LoadFile(@"C:\Projects\cs\FurnOffsite\Next.Whs.PWMS.Warehouse\bin\Debug\Next.Whs.PWMS.Warehouse.dll");
			List<string> lst=new List<string>();
			foreach(Type t in asm.GetTypes())
				if(t.IsClass)
				{
					Type[] ints=t.GetInterfaces();
					foreach(Type i in ints)
					{
						if(i.Name=="IWayPoint")
						//if(i.Name=="IAisleLocation")
						{
							string s=t.Name;
							if(t.IsAbstract)
								s+="(abstract)";
							lst.Add(s);
							break;
						}

					}
				}
			lst.Sort();

			foreach(string str in lst)
			{

				Console.WriteLine(str);
			}
		}
	}
}
